FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / UnboundSort Class / SortUnboundGrid Method / SortUnboundGrid(C1FlexGrid,IList<UnboundSortDescription>,Int32,Int32) Method
Grid to be sorted.
List of UnboundSortDescription objects that specify the columns to sort on.
First row in the range to be sorted.
Last row in the range to be sorted.

In This Topic
    SortUnboundGrid(C1FlexGrid,IList<UnboundSortDescription>,Int32,Int32) Method
    In This Topic
    Sorts the rows in an unbound grid.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SortUnboundGrid( _
       ByVal flex As C1FlexGrid, _
       ByVal sortDescriptions As IList(Of UnboundSortDescription), _
       ByVal startRow As Integer, _
       ByVal endRow As Integer _
    ) 

    Parameters

    flex
    Grid to be sorted.
    sortDescriptions
    List of UnboundSortDescription objects that specify the columns to sort on.
    startRow
    First row in the range to be sorted.
    endRow
    Last row in the range to be sorted.
    See Also